<?php

class Mlogin extends DB {

	private $db = null;

	public function __construct() {

		if (empty($this->db)) {
		
			$this->db = DB::getDBInstance();
		}
	
	}


	public function getBookName() {

		$sql = 'select * from tb_users';

		$this->db->query($sql);
		
		return $this->db->result_array();
	
	}
}


?>
